package com.sugon.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employees {

    private String name;
    private int age;
    private double salary;
    private String dept;

    public static List<Employees> createEmployee() {
        List<Employees> list = new ArrayList<>();
        list.add(new Employees("刘伟", 25, 30000, "开发"));
        list.add(new Employees("刘阳", 40, 8000, "研究"));
        list.add(new Employees("孙明", 35, 20000, "研发"));
        list.add(new Employees("杨冬冬", 20, 5000, "产品"));
        list.add(new Employees("梁彬彬", 27, 6500, "研发"));
        list.add(new Employees("王宇希", 23, 9000, "研发"));
        list.add(new Employees("马静", 26, 10000, "研发"));
        list.add(new Employees("陆小伟", 18, 11000, "财务"));
        list.add(new Employees("张龙龙", 21, 3000, "销售"));
        list.add(new Employees("杨艳玲", 32, 4000, "销售"));
        list.add(new Employees("姚继科", 39, 8216, "渠道"));
        list.add(new Employees("张奇", 51, 12000, "销售"));
        list.add(new Employees("陈美霞", 29, 7800, "渠道"));
        list.add(new Employees("韦柯", 16, 1000, "渠道"));
        list.add(new Employees("岳浩", 17, 1500, "研发"));
        list.add(new Employees("滕孟春", 22, 9001, "采购"));
        list.add(new Employees("毕龙龙", 45, 4600, "研发"));
        list.add(new Employees("刘浩", 12, 500, "研发"));
        list.add(new Employees("杨静", 22, 500, "人事"));
        list.add(new Employees("杨吉", 24, 500, "人事"));
        return list;
    }
}


